﻿@model IEnumerable<DayOfWeek>
@using LotteryVoteMVC.Core
@using LotteryVoteMVC.Resources
@using LotteryVoteMVC.Utility
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>EditCycle</title>
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/comm.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Customer/ajaxHelper.js")" type="text/javascript"></script>
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/comm.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/TableBase.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/inputs.css")" rel="stylesheet" type="text/css" />
</head>
<body>
    <div>
        @using (Html.BeginForm())
        {
            <h2>@ViewBag.Company.Name</h2>
            <div>
                @Html.CheckBoxList("Model", Extended.GetMultiSelectList<DayOfWeek>(Model))
            </div>
            <br />
            <div style="width: 500px; text-align: right">
                <input type="submit" name="submit" id="submit" value="@Resource.Submit" />
                <input type="reset" name="reset" id="reset" value="@Resource.Reset" />
            </div>
        }
    </div>
</body>
</html>
